{extend name="../../admin/view/full"}

{block name='content'}
<div class="iframe-pagination">
    <table id="OplogTable" data-url="{:request()->url()}" data-target-search="form.form-search"></table>
</div>
{/block}

{block name='script'}
<script>
    $(function () {
        $('#OplogTable').layTable({
            even: true, height: 'full',
            sort: {field: 'id', type: 'desc'},
            cols: [[
                {field: 'product_code', title: '{:lang("产品编号")}',width:120},
                {field: 'product_name', title: '{:lang("产品名称")}',width:180},
                {field: 'product_size', title: '{:lang("产品规格")}'},
                {field: 'batch', title: '{:lang("批次号")}',width:120},
                {field: 'boxcode', title: '{:lang("箱码")}'},
                {field: 'sncode', title: '{:lang("罐码")}'}
            ]]
        });
    });
</script>
{/block}

